package com.jinzecloud.reportapproval.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jinzecloud.reportapproval.bean.SampleInspection;
import com.jinzecloud.reportapproval.dto.AuditParam;
import com.jinzecloud.reportapproval.dto.DataStagingParam;
import com.jinzecloud.reportapproval.utils.R;

import javax.servlet.http.HttpServletRequest;

public interface SampleInspectionService extends IService<SampleInspection> {
    String getReportFilePath(String id, HttpServletRequest request);

    IPage<SampleInspection> auditList(DataStagingParam param);

    R audit(AuditParam auditParam);

    String viewPdf(Integer id);

    R saveSampleInspection(SampleInspection sampleInspection);

    String viewWord(Integer id);
}
